package com.totsp.crossword;

import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.Button;

import com.totsp.crossword.shortyz.R;

public class HTMLActivity extends ShortyzActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.setContentView(R.layout.html_view);
		WebView webview = (WebView) this.findViewById(R.id.webkit);
		Uri u = this.getIntent().getData();
		webview.loadUrl(u.toString());
		Button done = (Button) this.findViewById(R.id.closeButton);
		done.setOnClickListener(new OnClickListener(){

			public void onClick(View v) {
				 HTMLActivity.this.finish();
			}
			
		});

	}

}
